# coding: utf-8

# 一切皆是对象

puts 1.class # Fixnum
puts 1.0.class # Float
puts true.class # TrueClass
puts false.class # FlaseClass
puts [1, 2].class # Array
puts ({:a => 1, :b => 2}).class # Hash
puts (1..2).class # Range
puts (/ruby/).class # Regexp
puts nil.class # NilClass
puts :name.class # Symbol
puts :name.class.class # Class
puts :name.class.class # Class
puts Proc.new { | a, b | puts a * b }.class # Proc
puts lambda { 1 }.class # Proc